package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.LoginDto;
import com.hdax.dm.entity.user.DmUser;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class LoginDtoMapper {

    public abstract LoginDto toTarget(DmUser dmUser);

    public abstract List<LoginDto> toTargets(List<DmUser> dmUsers);
}
